Neuromodulation electroencephalographic signals and functional electrical stimulation based